package com.ruoyi.oa.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;
import com.ruoyi.workflow.domain.ActBusinessStatus;
import com.alibaba.excel.annotation.write.style.ColumnWidth;


/**
 * 合同用印申请视图对象 oa_admin_stamp
 *
 * @author ruoyi
 * @date 2023-08-27
 */
@Data
@ExcelIgnoreUnannotated
public class OaAdminStampVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private String id;

    /**
     * 部门id
     */
    @ExcelProperty(value = "部门id")
    private Long deptId;

    /**
     * 用户id
     */
    @ExcelProperty(value = "用户id")
    private Long userId;

    /**
     * 用印事由
     */
    @ExcelProperty(value = "用印事由")
    private String stampReason;

    /**
     * 公司名称
     */
    @ExcelProperty(value = "公司名称")
    private String companyName;

    /**
     * 印章类型
     */
    @ExcelProperty(value = "印章类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "stamp_type")
    private String stampType;

    /**
     * 文件名称
     */
    @ExcelProperty(value = "文件名称")
    private String fileName;

    /**
     * 文件份数
     */
    @ExcelProperty(value = "文件份数")
    private String fileCount;

    /**
     * 用印日期
     */
    @ExcelProperty(value = "用印日期")
    private Date stampDate;

    /**
     * 是否外带
     */
    @ExcelProperty(value = "是否外带", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "export_is_type")
    private String isOutside;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 附件
     */
    @ExcelProperty(value = "附件")
    private String attachment;


    /**
     * 业务状态实体对象
     */
    private ActBusinessStatus actBusinessStatus;


    /**
 * 创建时间
 */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm",timezone="GMT+8")
    @ExcelProperty(value = "提交日期")
    @ColumnWidth(20)
    private Date createTime;

    @ExcelProperty(value = "提交人")
    private String createBy;


    /**
     * 更新者
     */
    private String updateBy;

    /**
     * 更新时间
     */
    private Date updateTime;


}
